package org.carl.base.driving.service.receive;

import org.carl.base.driving.entity.ReceiveMessage;

import java.util.List;

public interface ReceiveMessageService {
    void insert(ReceiveMessage receiveMessage);
    ReceiveMessage selectById(String receiveId);

    void updateHandleState(String receiveId, Integer handleState);

    List<ReceiveMessage> findBySendId(String sendId);

    List<ReceiveMessage> findOverdueOrder(List<Integer> stateList, String endGmtCreate);

    void deleteById(String receiveId);
}
